import { ajax } from '@/utils/request'
import '@/mock/say/say_label'
import '@/mock/famous/famous_doctor'

// 获取地址信息
export function getAddress () {
    return ajax({
        url:'/address'
    })
}
// 获取标签信息
export function getLabelList () {
    return ajax({
        url:'/labellist'
    })
}

// 获取信息
export function getSayInfo (data?:{kind:string}){
    return ajax({
        url:'/sayinfo',
        method:'post',
        data
    })
}

// 获取say详细信息
export function getSayDetail (data:{id:number}){
    return ajax ({
        url:'/sayinfodetail',
        method:'post',
        data
    })
}